<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/common/default.jsp"%>
<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="${ctx}/static/tools/jquery-validationEngine/jquery.validationEngine.js"></script>
		<script type="text/javascript" src="${ctx}/static/tools/jquery-validationEngine/jquery.validationEngine-cn.js"></script>
	</head>
	

	<body>
		<div class="breadcrumbs" id="breadcrumbs">
			<script type="text/javascript">
								try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
							</script>
	
			<ul class="breadcrumb">
				<li><i class="icon-home home-icon"></i> <a href="#">科目管理</a></li>
				<li class="active">列表</li>
			</ul>
			<!-- .breadcrumb -->
		</div>	
		<div>
					<a class="btn btn-sm btn-success" href="${ctx}/sys/subject/toAdd">新增</a>
		</div>	
			
		
		<div class="page-content">
			<div class="row" >	
			<div class="col-xs-12">
				<table id="simple-table" class="table table-striped table-bordered table-hover"  style="margin-top:5px;">
							<thead>
								<tr>
									<th class="center" style="width: 30px;">
										<label><input class="ace" type="checkbox" id="zcheckbox" /><span class="lbl"></span></label>
									</th>
									<th class='center' style="width:50px;">序号</th>
									<th class="left">名称</th>
									<th class="left">编号</th>
									<th class="left">创建时间</th>
									<th class="left">修改时间</th>
									<th class="center" >操作</th>
								</tr>
							</thead>
												
							<tbody id="userlist">
							<c:forEach var="res" items="${res.data.rows}" varStatus="status">
							<tr style="background-color: rgb(255, 255, 255);" id="userinfo_row_${res.user_id}" >
								<td class="center">
									<label><input type="checkbox" class="ace" /><span class="lbl"></span></label>
								</td>	
								<td class='center' >${res.order}</td>  							
								<td>&nbsp;${res.name}</td>
								<td>&nbsp;${res.code}</td>
								 <td title="${res.createTime}">&nbsp;${res.createTime}</td>
								 <td title="${res.updateTime}">&nbsp;${res.updateTime}</td>
				                 <td  >
				                 	<a style="margin-left: 3%;" href="${ctx}/sys/grade/toUpdate/${res.id}" >编辑</a>
								</td>
							</tr> 
							</c:forEach>
							</tbody>
				</table>
							 
			</div>
			
			</div>
			
			
			
		</div>
	</body>

</html>
